package com.steven.team.service

import com.alibaba.fastjson.JSONObject
import org.springframework.web.multipart.MultipartFile

interface FriendService {
    fun queryFriends(uid: Long): JSONObject
    fun queryApplicationToSelf(uid: Long): JSONObject
    fun querySelfApplication(uid: Long): JSONObject
    fun applyFriend(uid: Long, toUser: Long): JSONObject
    fun agreeFriend(uid: Long, applicantUser: Long): JSONObject
    fun refuseFriend(uid: Long, applicantUser: Long): JSONObject
    fun updateToUserApplicantReadStatus(toUser: Long): JSONObject
    fun deleteFriend(uid: Long, friendId: Long): JSONObject
    fun queryUserDetail(friendId: Long,selfId: Long): JSONObject
    fun queryChatFriends(uid: Long): JSONObject
}